package com.example.service.impl;


import com.example.entity.ExamManualQuestion;
import com.example.mapper.ExamManualQuestionMapper;
import com.example.service.ExamManualQuestionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ExamManualQuestionServiceImpl implements ExamManualQuestionService {

    @Autowired
    private ExamManualQuestionMapper questionMapper;


    //批量插入题目
    @Override
    public void batchCreate(List<ExamManualQuestion> questions) {
        questionMapper.batchInsertExamManualQuestions(questions);
    }
}
